# Dimensions - 50, 100, 200, 400, 800, 1600, 2400, 3200
# Number of Threads - 1, 2, 4, 6, 8, 12, 16, 20, 24, 32, 48 64
# Row / Column based - 0 and 1
# Run each situation 10 times

echo "<Rows>\t <Cols>\t <Threads>\t <Time> \t<User> \t<System> \t<Elapsed> \n"



for dim in "50" "100" "200" "400" "800" "1600" "2400" "3200" "4800" "6400"
do
  for numt in "1" "2" "3" "4" "6" "8" "12" "16" "20" "24" "32" "48" "64"
  do
    for row in "0" "1"
    do
      for i in "1" "2" "3" "4" "5" "6" "7" "8" "9" "10"
      do
        echo "Dim: $dim  Num Threads: $numt"
        #echo "\t./zombies input$dim.txt 0 $numt $row 0"
        /usr/bin/time -f "%U\t%S\t%E\t" ./zombies input$dim.txt 0 $numt $row 0 1>> output.txt 2>> output.txt
    
      done
    done
  done
done

exit 0

